package com.ht.service.impl;

import com.ht.bean.Aduitlog;
import com.ht.bean.Emp;
import com.ht.bean.Studenthuor;
import com.ht.dao.PermissionDao;
import com.ht.dao.XtbbDao;
import com.ht.service.XtbbService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
//系统报表服务层
public class XtbbServiceimpl implements XtbbService {
    @Resource
    private XtbbDao dao;

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    @Override
    public List<Map> ygkhlist(Integer startIndex, Integer pageSize, Aduitlog aduitlog, Emp emp) {
        return dao.ygkhlist(startIndex,pageSize,aduitlog,emp);
    }

    @Override
    public int ygkhcount(Aduitlog aduitlog, Emp emp) {
        return dao.ygkhcount(aduitlog,emp);
    }

    @Override
    public List<Emp> ygkhemp() {
        return dao.ygkhemp();
    }

    @Override
    public List<Map> lisyuan(Integer pid, Integer lime, Emp emp, String yue) {
        return dao.lisyuan(pid,lime,emp,yue);
    }

    @Override
    public Integer lisyuann(Emp emp, String yue) {
        return dao.lisyuann(emp,yue);
    }

    @Override
    public List<Map> lisyuannn() {
        return dao.lisyuannn();
    }

    @Override
    public List<Map> sushelistt() {
        return dao.sushelistt();
    }

    //-------------------------------------------------------------------------------------------------------
    @Override
    public List<Map> lisshushe() {
        return dao.lisshushe();
    }

    @Override
    public List<Map> lislou() {
        return dao.lislou();
    }
    //宿舍报表
    @Override
    public List<Map> sushelist(Integer pid, Integer lime, Studenthuor studenthuor) {
        return dao.sushelist(pid,lime,studenthuor);
    }

    @Override
    public int sushecount(Studenthuor studenthuor) {
        return dao.sushecount(studenthuor);
    }

    @Override
    public int sumhecount(Studenthuor studenthuor) {
        return dao.sushecount(studenthuor);
    }

    //------------------------------------------------------------------------------------------------------------
}
